package com.aurora.app.entity;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.aurora.base.entity.BaseEntity;

/**
 * 统一数据库管理user对应的websocket id
 * @author Administrator
 *
 */
@Entity
@Table(name="tb_webSocket")
public class UserWebSocket extends BaseEntity {
	private String userId;
	private String socketId;
	@Column(name="f_user_id")
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	@Column(name="f_socket_id")
	public String getSocketId() {
		return socketId;
	}
	public void setSocketId(String socketId) {
		this.socketId = socketId;
	}
	
	
}
